<?php include 'header.php' ?>
    <div id="dialog" title="Xác nhận">
        <p> Bạn chắc chắn muốn xóa?</p>
        <button onclick="deleteAccount();">Có</button>
        <button onclick="closeDialog()">Không</button>
    </div>

    <article>
        <div class="clear"/>

        <section class="list-content">
            <header>
                <h1>Bảng Tài Khoản</h1>
            </header>
            <div id="account_form">
                <p id="message"></p>

                <form id="accountForm">
                    <div>
                        <input type="hidden" id="id_acc">
                        <label for="username">Tài khoản: </label>
                        <input type="text" id="username" name="username" maxlength="50"
                               placeholder="nhập tên tài khoản" required="true" autofocus="true">
                        <br><br>
                        <label for="password">Mật khẩu: </label>
                        <input type="password" id="password" name="password" maxlength="50"
                               placeholder="nhập mật khẩu" required="true">

                    </div>
                    <div class="clear"/>
                    <br>
                    <div>
                        <input type="submit" value="Lưu lại" onclick="createAccount();return false;"
                               style="width: 100px">
                    </div>
                    <br>
                </form>

                <div class="clear"/>
            </div>
        </section>
        <section class="list-content">
            <div id="account_list">
            </div>
            <div class="clear"/>
        </section>

        <div class="clear"/>
    </article>

<?php include 'footer.php' ?>